<!--# layout("/common/layout.html",{"jsBase":"/js/cms/homeContent/"}){ -->

<form class="layui-form layui-form-pane" id="addForm">
    <div class="layui-row">
        <div class="layui-form-item">

            <div class="layui-inline">
            <label class="layui-form-label">内容标题</label>
				<div class="layui-input-inline">
					<input type="text" name="title" class="layui-input" >
				</div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">链接</label>
                <div class="layui-input-inline">
                    <input type="text" name="url" class="layui-input" >
                </div>
            </div>
        </div>
    </div>


    <input id="image" type="hidden" name="pic" class="layui-input" value="">

    <layui:submitButtons id="addButton" />
</form>
<blockquote class="site-text layui-elem-quote">上传图片</blockquote>

<div class="layui-row">
    <div class="layui-container">
        <div class="layui-row">
            <div class="layui-form-item my-item-style">
                <div class="layui-inline my-liline-style">
                    <layui:fastdfsUploadImg id="itemPic" value="" btnName="点击上传" addr="${ctxPath}"/>
                </div>
            </div>
        </div>
    </div>
<!--#} -->
<script>
layui.use(['add'], function(){
    var homeContentAdd = layui.add
    homeContentAdd.init();
});
</script>
